<!--navbar-->
<div class="navbar">
	<div class="navbar-inner">
		<div class="left">
			<a href="#" class="link back">
				<i class="icon icon-return"></i>
			</a>
		</div>
		<div class="center">购物车</div>
	</div>
</div>
<div class="pages navbar-through">
	<div class="page no-toolbar subtoolbar-through" data-page="mallCart">
		<div class="page-content">
			<div class="list-block">
				<ul>
					{foreach:items = $this->goodsList}
					{set:$item_json = JSON::encode($item)}
					<li class="item-inner">
						<a  class="delete delone" datajson='{$item_json}'><i class="icon-delete"></i></a>
						<div class="media">
							<img src="{url:/pic/thumb/img/$item[img]/w/66/h/66}" alt="">
						</div>
						<div class="title">
							<h4>{$item['name']}</h4>
							<div class="row dt-info">
								<div class="univalent"><em>&yen;{$item['sell_price']}</em>/<small>件</small></div>
								<div class="op">
									<label for="">数量：</label>
									<a class="button  reduce button-minus"  datajson='{$item_json}' href="javascript:void(0)"><i class="icon icon-minus"></i></a>
									<!--<input type="text" value="2">-->
									<input class="tiny" value="{$item['count']}"   datajson='{$item_json}'type="text" id="count_{$item['goods_id']}_{$item['product_id']}" />
									<a class="button  add button-add" datajson='{$item_json}' href="javascript:void(0)"><i class="icon icon-add"></i></a>
								</div>
							</div>
						</div>
					</li>
					{/foreach}
				</ul>
			</div>

		</div>
		<div class="subtoolbar row">
			<div class="total">
				合计:<em id="sum_price">{$this->final_sum}</em>
			</div>
			<a class="button calc  btn_pay color-orange">结算</a>
		</div>
	</div>
</div>